import request from '@/utils/request'

// 查询订单操作记录列表
export function listStoreOrderStatus(query) {
  return request({
    url: '/system/storeOrderStatus/list',
    method: 'get',
    params: query
  })
}

// 查询订单操作记录详细
export function getStoreOrderStatus(oid) {
  return request({
    url: '/system/storeOrderStatus/' + oid,
    method: 'get'
  })
}

// 新增订单操作记录
export function addStoreOrderStatus(data) {
  return request({
    url: '/system/storeOrderStatus',
    method: 'post',
    data: data
  })
}

// 修改订单操作记录
export function updateStoreOrderStatus(data) {
  return request({
    url: '/system/storeOrderStatus',
    method: 'put',
    data: data
  })
}

// 删除订单操作记录
export function delStoreOrderStatus(oid) {
  return request({
    url: '/system/storeOrderStatus/' + oid,
    method: 'delete'
  })
}
